package com.erci.service;

import com.erci.entity.Category;
import com.erci.entity.VO.CategoryVO;
import com.erci.result.PageResult;

import java.util.List;

public interface CategoryService {
    PageResult queryList(Integer page, Integer pageSize, String name);

    void add(Category category);


    void update(Category category);

    void delete(Category category);

    List<CategoryVO> allCategory();

    List<String> allCategoryNames(List<String> ids);
}
